[INFO] cloning repository https://github.com/OtterCode/population-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OtterCode/population-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOtterCode%2Fpopulation-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOtterCode%2Fpopulation-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8908d5e208f712de10ce51ada4819450824d4773
[INFO] checking OtterCode/population-sim against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOtterCode%2Fpopulation-sim" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/OtterCode/population-sim on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/OtterCode/population-sim
[INFO] finished tweaking git repo https://github.com/OtterCode/population-sim
[INFO] tweaked toml for git repo https://github.com/OtterCode/population-sim written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/OtterCode/population-sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded web-view v0.2.1
[INFO] [stderr]   Downloaded yaml-rust v0.4.0
[INFO] [stderr]   Downloaded serde_yaml v0.7.4
[INFO] [stderr]   Downloaded syn v0.13.7
[INFO] [stderr]   Downloaded serde v1.0.53
[INFO] [stderr]   Downloaded serde_derive v1.0.53
[INFO] [stderr]   Downloaded webview-sys v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 16e98797dc0e94c6b3b43f934847840651abd15194ddc99f55906f74afb01e5d
[INFO] running `Command { std: "docker" "start" "-a" "16e98797dc0e94c6b3b43f934847840651abd15194ddc99f55906f74afb01e5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16e98797dc0e94c6b3b43f934847840651abd15194ddc99f55906f74afb01e5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16e98797dc0e94c6b3b43f934847840651abd15194ddc99f55906f74afb01e5d", kill_on_drop: false }`
[INFO] [stdout] 16e98797dc0e94c6b3b43f934847840651abd15194ddc99f55906f74afb01e5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a8006ac4f94887680fdef3e0e6978fd16fe28c938b13e0365c8eba87157cafd
[INFO] running `Command { std: "docker" "start" "-a" "9a8006ac4f94887680fdef3e0e6978fd16fe28c938b13e0365c8eba87157cafd", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.11
[INFO] [stderr]    Compiling cc v1.0.18
[INFO] [stderr]     Checking linked-hash-map v0.5.1
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]     Checking urlencoding v1.0.0
[INFO] [stderr]     Checking serde v1.0.53
[INFO] [stderr]    Compiling proc-macro2 v0.3.8
[INFO] [stderr]     Checking yaml-rust v0.4.0
[INFO] [stderr]    Compiling quote v0.5.2
[INFO] [stderr]    Compiling syn v0.13.7
[INFO] [stderr]    Compiling webview-sys v0.1.0
[INFO] [stderr]     Checking web-view v0.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.53
[INFO] [stderr]     Checking serde_yaml v0.7.4
[INFO] [stderr]     Checking pop_sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function
[INFO] [stdout]   --> src/skew_normal.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[test]
[INFO] [stdout]    |     ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions
[INFO] [stdout]    |
[INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run
[INFO] [stdout]    |
[INFO] [stdout] 53 |     #[cfg(test)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function
[INFO] [stdout]   --> src/skew_normal.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[test]
[INFO] [stdout]    |     ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions
[INFO] [stdout]    |
[INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[cfg(test)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function
[INFO] [stdout]   --> src/skew_normal.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     #[test]
[INFO] [stdout]    |     ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions
[INFO] [stdout]    |
[INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run
[INFO] [stdout]    |
[INFO] [stdout] 68 |     #[cfg(test)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/population/cohort/heligman_pollard.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn cause(&self) -> Option<&Error> {
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn cause(&self) -> Option<&dyn Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/population/cohort/heligman_pollard.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn cause(&self) -> Option<&Error> {
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn cause(&self) -> Option<&dyn Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pop_sim` (lib test) due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `consequences`
[INFO] [stdout]   --> src/population/attributes.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) {
[INFO] [stdout]    |                            ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_consequences`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `advance_year` is never used
[INFO] [stdout]   --> src/population/attributes.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl AttributeData {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 13 |     fn advance_year(&self, consequences: &HashMap<&str, Consequence>) -> (AttributeData, Consequence) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Consequence` is never constructed
[INFO] [stdout]   --> src/population/attributes.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Consequence {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9a8006ac4f94887680fdef3e0e6978fd16fe28c938b13e0365c8eba87157cafd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a8006ac4f94887680fdef3e0e6978fd16fe28c938b13e0365c8eba87157cafd", kill_on_drop: false }`
[INFO] [stdout] 9a8006ac4f94887680fdef3e0e6978fd16fe28c938b13e0365c8eba87157cafd
